package com.dt76.smallloanbackendservice.mapper.etao;

import com.dt76.smallloanbackendservice.pojo.etao.Department;

import java.util.List;

public interface DeparmentMapper {

    List<Department> getAllDept(Integer start , Integer size);

    List<Department> getDept();

    Department getDetpById(Integer did);

    int getTotalCount();

    int deleteDeptById(Integer did);

    int updateDeptEnable(Integer did, Integer enable);

    int saveDept(Department department);

    int updateDept(Department department);

}
